package com.itheima.tanhua.mongo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Document(collection = "acoustic")
public class Acoustic implements Serializable {
    private ObjectId id;    //主键

    private Long userId;    //用户id


    private String soundUrl;    //语音文件，URL

    private Long created;   //创建时间

    private boolean pickup=false;  //是否拾取  false 未拾取

    private Long pickupUserId;  //拾取人

    private Long pickupDateTime; //拾取时间
}

